package OOday04;

public class AnonInnerClassDemo {
    public static void main(String[] args) {
        Inter o1 = new Inter() {};

        Inter O2 = new Inter() {};
        Swim O3 = new Swim() {
            @Override
            public void swim() {
                System.out.println("nishuodedui");
            }
        };

        interfaceF o4 = new interfaceF(){
            public void show(){
                System.out.println("ee");
            }
        };
        o4.show();
        O3.swim();
    }
}

interface interfaceF {
     void show();

}
